package com.plian.system.service.fr.enterprise;

import com.baomidou.mybatisplus.extension.service.IService;
import com.plian.Tools.pagedata.PageData;
import com.plian.system.entity.fr.enterprise.Enterprise;
import com.plian.system.model.ListResult;
import com.plian.system.mybatis.support.Query;
import com.plian.system.vo.fr.enterprise.EnterpriseVO;

import java.util.List;

public interface IEnterpriseService extends IService<Enterprise> {

    boolean submit(Enterprise enterprise);

    boolean deleteLogic(List<Long> ids);

    ListResult<EnterpriseVO> list( Query query);

    EnterpriseVO getDetailObj(Enterprise enterprise);

    EnterpriseVO findByOrgId(String orgId);

    EnterpriseVO getEnterpriseVO(Object id);

    ListResult reportList(PageData pd);

    List<Enterprise> getAllUnitCheckName();

    List<Enterprise> findByOrgIds(List<String> orgIds);

    Enterprise findByOrg(String orgId);

    List<PageData> selectDistinct(PageData pageData);
}
